package cn.edu.lingnan.dao;

import cn.edu.lingnan.pojo.Score;

import java.util.List;

public interface ScoreDao {
    //这里应该有三个方法：按学号找课程号；按课程号找数量；删除对应学号分数

    public List<Score> findScoreBySid(String _sid);

    public List<Score> findAllScores();
    public int findScoreNumByCid(String _cid);
    public int deleteScoreBySid(String _sid);

    public int insertScore(Score _score);

}
